import {
	http
} from '../httpIndex.js'

export default {
	//获取学生考试信息
	getExam(id) {
		return http.get(`app/exam/getExam/${id}`)
	},
	//获取学生考试信息详情
	getExamDetail(examId,studentId) {
		return http.get(`app/exam/getExamDetail/${examId}/${studentId}`)
	},
	//根据用户id查询该用户下班级考试信息
	getClassExam(userId) {
		return http.get(`app/exam/getClassExam/${userId}`)
	},
	//根据考试id查询班级考试统计信息
	getClassExamCount(examId) {
		return http.get(`app/exam/getClassExamCount/${examId}`)
	}
}